/*
 * @Author: xiaosihan 
 * @Date: 2022-07-11 07:51:56 
 * @Last Modified by: xiaosihan
 * @Last Modified time: 2024-08-17 22:18:46
 */

import hashHistory from "@hashHistory";
import { useEffect, useRef } from "react";
import Transition from "three-base/Transition";
import styles from "./home2.module.less";
import home2Renderer from "./home2Render";

const Home2 = () => {

    const goto = (path: string) => {
        hashHistory.push(path);
    }

    const t = useRef(new Transition({ x: 0 }));

    useEffect(() => {

    });

    return (
        <div className={styles.home2}>
            <div className={styles.container} ref={dom => home2Renderer.setContainer(dom)} ></div>
        </div>
    );
}

export default Home2;


